<?php

return [
    [
        'name' => 'announcement',
        'title' => '文件声明',
        'type' => 'text',
        'group' => '',
        'visible' => '',
        'content' => [],
        'value' => '// +----------------------------------------------------------------------'."\r\n"
            .'// | {addonName}  [ WE CAN DO IT JUST THINK ]'."\r\n"
            .'// +----------------------------------------------------------------------'."\r\n"
            .'// | Copyright (c) {year} https://gitee.com/sdnode All rights reserved.'."\r\n"
            .'// +----------------------------------------------------------------------'."\r\n"
            .'// | Author: chenshiming'."\r\n"
            .'// +----------------------------------------------------------------------',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => 'rows="10"',
    ],
    [
        'name' => 'mode',
        'title' => '生产模式',
        'type' => 'select',
        'content' => [
            'addons' => '生产代码在addons目录',
            'app' => '生产代码在项目目录',
        ],
        'value' => 'app',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => '__tips__',
        'title' => '温馨提示',
        'type' => 'string',
        'content' => [],
        'value' => '生成文件头部声明，可用变量{addonName},{year},{date},{datetime}和info.ini的参数<br/><strong>生产模式:是全局的配置，切记中途修改模式！</strong><br/>【生产代码在addons目录】编写代码必须在插件目录下，比如：/addons/application，/addons/public，/addons/...等<br/>【生产代码在项目目录】编写代码在项目的子目录下，比如：/application，/public,/...等',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
];
